package com.example.design.shejimoshi.action.oberver.异步非阻塞;

import com.google.common.eventbus.Subscribe;

public class RegNotificationObserver {
//    private NotificationService notificationService;

    // 标明类中哪个函数可以接收被观察者发送的消息。
    @Subscribe
    public void handleRegSuccess(Long userId) {
//        notificationService.sendInboxMessage(userId, "...");
        System.out.println("asdsa");
    }
}